package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
@TableName("tt_eq_auto_alarm_record")
public class AutoAlarmRecord extends Model<AutoAlarmRecord> {

    private static final long serialVersionUID = 1L;
    @TableId("PK_ID")
	private String pkId;
	@TableField("EQUIP_CODE")
	private String equipCode;
	@TableField("PARAM_CODE")
	private String paramCode;
	@TableField("ALARM_VALUE")
	private String alarmValue;
	@TableField("START_DATE")
	private Date startDate;
	@TableField("END_DATE")
	private Date endDate;
	/**
	 * 增加PARAM_ID
	 * 减少ALARM_CODE
	 */
	@TableField(exist=false)
    private String equipName;
	@TableField(exist=false)
	private String paramName;
	@TableField(exist=false)
    private String alarmName;
	@TableField(exist=false)
    private String operationName;
	
	
	
	
	
	

	public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getAlarmName() {
        return alarmName;
    }

    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	
	public String getParamCode() {
		return paramCode;
	}

	public void setParamCode(String paramCode) {
		this.paramCode = paramCode;
	}

	public String getAlarmValue() {
		return alarmValue;
	}

	public void setAlarmValue(String alarmValue) {
		this.alarmValue = alarmValue;
	}

	
	
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
